package com.suyang.syt.model;

import java.io.Serializable;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/** 基础实体的model */
@MappedSuperclass
@SuppressWarnings("serial")
public class BaseEntity implements Serializable {
	/** 主键 */
	private long id;
	/** 实体名称 */
	private String name;
	/** 全拼 */
	private String quanpin;
	/** 简拼 */
	private String jianpin;
	/** 排序字段 */
	private int orderIndex = 0;
	/** 数据状态 */
	private int status;
	/** 创建人 */
	private String createName;
	/** 创建时间 */
	private String createTime;
	/** 修改人 */
	private String modifyName;
	/** 修改时间 */
	private String modifyTime;

	@Id
	@GeneratedValue
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getQuanpin() {
		return quanpin;
	}

	public void setQuanpin(String quanpin) {
		this.quanpin = quanpin;
	}

	public String getJianpin() {
		return jianpin;
	}

	public void setJianpin(String jianpin) {
		this.jianpin = jianpin;
	}

	public int getOrderIndex() {
		return orderIndex;
	}

	public void setOrderIndex(int orderIndex) {
		this.orderIndex = orderIndex;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getModifyName() {
		return modifyName;
	}

	public void setModifyName(String modifyName) {
		this.modifyName = modifyName;
	}

	public String getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}

}